<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="./inc/TagLibs.jsp"%>
<script type="text/javascript">
// type:
//   0 - Normal    2 - Else
//   1 - Primary   3 - Weak
var GM_Data =[

<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';NO_COMM;')==-1}">{code:'01', name:'沟通', title:'', url:'Desktop.ihtm?type=MSG' },</c:if>
{code:'02', name:'客户业务', title:'', url:'Desktop.ihtm?type=FLOW' },
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';MAKE;')!=-1}">{code:'03', name:'制作', title:'', url:'/make/Main.ihtm' },</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP;')!=-1}">{code:'04', name:'外协', title:'', url:'/cooper/Main.ihtm' },</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC;')!=-1}">{code:'05', name:'采购', title:'', url:'/purchase/Main.ihtm' },</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';STOR;')!=-1}">{code:'06', name:'库存', title:'', url:'/storehouse/Main.ihtm' },</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';FINA;')!=-1}">{code:'07', name:'帐务', title:'', url:'/finance/Main.ihtm' },</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OUTP;')!=-1}">{code:'08', name:'产值', title:'', url:'' },</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';REPO;')!=-1}">{code:'09', name:'统计报表', title:'', url:'' },</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BASE;')!=-1}">{code:'10', name:'基础数据', title:'', url:'/base/Main.ihtm' },</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';SYST;')!=-1}">{code:'11', name:'系统管理', title:'', url:'/system/Main.ihtm' },</c:if>

<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';NO_COMM;')==-1}">
{code:'0101', name:'日程', title:'' },
    {code:'010111',type:1, name:'我的日程', title:'', url:'javascript:showWin(1024,600,"/base/EstablishmentCommunicateSearchResult.ihtm");' },
    {code:'010112',type:2, name:'新日程', spareName:'', title:'', url:'javascript:doCommNew();' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COMM_SELF;')==-1}">{code:'010113',type:0, name:'下级日程', spareName:'', title:'', url:'javascript:showWin(1024,600,"/base/EstCommUnderList.ihtm");' },</c:if>
    
    {code:'010191',type:1, name:'日历', spareName:'日程日历', title:'', url:'javascript:showWin(900,600,"/base/EstablishmentCommunicateCalendar.ihtm",true);' },
{code:'0102', name:'公告', title:'' },
    {code:'010211',type:0, name:'所有公告', title:'', url:'javascript:showWin(1024,600,"/bbs/Main.ihtm");' },
{code:'0103', name:'消息', title:'' },
    {code:'010311',type:0, name:'发内部消息', title:'', url:'javascript:showWin(1024,600,"/message/Main.ihtm?default_url=MessageNew.ihtm");' },
    {code:'010312',type:2, name:'收件箱', spareName:'消息收件箱', title:'', url:'javascript:showWin(1024,600,"/message/Main.ihtm?default_url=MessageList.ihtm?type=IN");' },
    {code:'010313',type:2, name:'发件箱', spareName:'消息发件箱', title:'', url:'javascript:showWin(1024,600,"/message/Main.ihtm?default_url=MessageList.ihtm?type=OUT");' },
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COMM;')!=-1}">
{code:'0104', name:'短信', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';SMS_SEND_SIMP;')!=-1}">{code:'010411',type:0, name:'发短信', title:'', url:'javascript:showWin(900,500,"/sms/SmsSendForm.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';SMS_SEND;')!=-1}">{code:'010412',type:2, name:'群发短信', title:'', url:'javascript:showWin(900,500,"/sms/SmsSendForm.ihtm?type=MULTI");' },</c:if>
    {code:'010491',type:0, name:'短信发送记录', title:'', url:'javascript:showWin(900,500,"/sms/SmsMyHistoryList.ihtm");' },
</c:if>
{code:'0105', name:'通讯录', title:'' },
    {code:'010511',type:1, name:'我的通讯录', title:'', url:'javascript:showWin(760,400,"/base/PhoneBookList.ihtm");' },
    {code:'010512',type:2, name:'公司内部通讯录', title:'', url:'javascript:showWin(1024,640,"/base/InnerPbMain.ihtm");' },
{code:'0106', name:'其他', title:'' },
    {code:'010611',type:0, name:'谁在线', title:'', url:'javascript:showWin(500,300,"/system/OnlineList.ihtm");' },
    {code:'010612',type:1, name:'关于管理易', title:'', url:'javascript:showWin(500,320,"/AboutEking.ihtm");' },
</c:if>

{code:'0201', name:'客户', title:'' },
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_CLIE;')!=-1}">{code:'020111',type:0, name:'新客户登记', title:'', url:'javascript:showClientDialog();' },</c:if>
    {code:'020112',type:2, name:'我的客户', title:'', url:'javascript:showWin(1024,600,"/base/EstablishmentManageList.ihtm?type=CLIENT");' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';CLIE_MOVE;')!=-1}">{code:'020113',type:2, name:'客户移交', title:'', url:'javascript:showEstMoveDialog("CLIENT");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BASE_CLIE;')!=-1}">{code:'020191',type:0, name:'全部客户', title:'', url:'javascript:showWin(1024,600,"/base/EstablishmentList.ihtm?type=CLIENT");' },</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_BILL;')!=-1 || fn:indexOf(currentUser.privs,';BUSI_COPY;')!=-1 || fn:indexOf(currentUser.privs,';BUSI_BILL_SEAR;')!=-1 || fn:indexOf(currentUser.privs,';BUSI_ACCE;')!=-1 || fn:indexOf(currentUser.privs,';BUSI_ITEM_SEAR;')!=-1 || fn:indexOf(currentUser.privs,';BUSI_MODI;')!=-1 || fn:indexOf(currentUser.privs,';BUSI_EDIT_PRIC;')!=-1 || fn:indexOf(currentUser.privs,';BUSI_MODI_SELF;')!=-1 || fn:indexOf(currentUser.privs,';CLIE_PRIC;')!=-1 || fn:indexOf(currentUser.privs,';BUSI_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';BUSI_UN_EXAM;')!=-1}">
{code:'0202', name:'业务', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_BILL;')!=-1}">
	    {code:'020211',type:1, name:'业务接单', title:'', url:'javascript:showBusinessBillDialog();' },
	    {code:'020212',type:2, name:'传图下单', title:'', url:'javascript:showBusinessFileDialog();' },
    </c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_COPY;')!=-1}">{code:'020213',type:2, name:'复制开单', title:'', url:'javascript:showBusinessBillReorderDialog();' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_BILL_SEAR;')!=-1}">{code:'020291',type:1, name:'业务单一览表', title:'', url:'javascript:showWin(1280,800,"/business/BusinessBillSearchResult.ihtm");' },</c:if>
    
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_ACCE;')!=-1}">{code:'020221',type:0, name:'上传设计文件', title:'', url:'javascript:showWin(900,600,"/business/BusinessBillListForAccessory.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';ACCE_SEAR;')!=-1}">{code:'020222',type:2, name:'上传文件一览表', title:'', url:'javascript:showWin(1024,600,"/business/AcceSear.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_ITEM_SEAR;')!=-1}">{code:'020292',type:0, name:'业务明细一览表', title:'', url:'javascript:showWin(1024,600,"/business/BusinessBillItemSearchResult.ihtm");' },</c:if>
    
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_MODI;')!=-1}">{code:'020231',type:0, name:'业务改单', title:'', url:'javascript:showWin(900,600,"/business/BusinessBillListForModify.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_EDIT_PRIC;')!=-1}">{code:'020232',type:2, name:'改价格', title:'', url:'javascript:showWin(900,600,"/business/BusinessBillListForEditPrice.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_MODI_SELF;')!=-1}">{code:'020233',type:2, name:'开单人改单', title:'', url:'javascript:showWin(900,600,"/business/BusinessBillListForModifySelf.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';CLIE_PRIC;')!=-1}">{code:'020293',type:1, name:'项目价格', title:'', url:'javascript:showWin(1024,600,"/base/EstPriceList.ihtm?price_type=STA&est_type=CLIENT");' },</c:if>
    
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_EXAM;')!=-1}">{code:'020241',type:0, name:'业务单审核', title:'', url:'javascript:showWin(900,600,"/business/BusinessBillListForExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_UN_EXAM;')!=-1}">{code:'020242',type:2, name:'反审核', spareName:'业务单反审核' , title:'', url:'javascript:showWin(900,600,"/business/BusinessBillListForUnExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_BILL_SEAR;')!=-1}">{code:'020294',type:0, name:'扫条码查进度', title:'', url:'javascript:showWin(1024,600,"/business/BusinessRelBillList.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';DELI_BILL;')!=-1 || fn:indexOf(currentUser.privs,';DELI_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';DELI_UN_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';DELI_BILL_SEAR;')!=-1}">
{code:'0203', name:'送货', title:'' },
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';DELI_BILL;')!=-1}">{code:'020311',type:0, name:'送货', title:'', url:'javascript:showWin(1024,600,"/business/BusinessBillListForDeliver.ihtm");' },</c:if>
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';DELI_EXAM;')!=-1}">{code:'020312',type:2, name:'审核', spareName:'送货单审核', title:'', url:'javascript:showWin(1024,600,"/business/DeliverBillListForExamine.ihtm");' },</c:if>
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';DELI_UN_EXAM;')!=-1}">{code:'020313',type:2, name:'反审核', spareName:'送货单反审核', title:'', url:'javascript:showWin(1024,600,"/business/DeliverBillListForUnExamine.ihtm");' },</c:if>
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';DELI_BILL_SEAR;')!=-1}">{code:'020391',type:0, name:'送货单一览表', title:'', url:'javascript:showWin(1024,600,"/business/DeliverBillSearchResult.ihtm");' },</c:if>
	
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';DELI_ITEM_SEAR;')!=-1}">{code:'020392',type:0, name:'送货明细一览表', title:'', url:'javascript:showWin(1024,600,"/business/DeliverBillItemSearchResult.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';SETU_BILL;')!=-1 || fn:indexOf(currentUser.privs,';SETU_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';SETU_UN_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';SETU_BILL_SEAR;')!=-1 || fn:indexOf(currentUser.privs,';SETU_COMP;')!=-1 || fn:indexOf(currentUser.privs,';SETU_UN_COMP;')!=-1}">
{code:'0204', name:'安装', title:'' },
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';SETU_BILL;')!=-1}">{code:'020411',type:0, name:'安装', title:'', url:'javascript:showWin(1024,600,"/business/BusinessBillListForSetu.ihtm");' },</c:if>
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';SETU_EXAM;')!=-1}">{code:'020412',type:2, name:'审核', spareName:'安装单审核', title:'', url:'javascript:showWin(1024,600,"/business/SetuBillListForExam.ihtm");' },</c:if>
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';SETU_UN_EXAM;')!=-1}">{code:'020413',type:2, name:'反审核', spareName:'安装单反审核', title:'', url:'javascript:showWin(1024,600,"/business/SetuBillListForUnExam.ihtm");' },</c:if>
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';SETU_BILL_SEAR;')!=-1}">{code:'020491',type:0, name:'安装单一览表', title:'', url:'javascript:showWin(1024,600,"/business/SetuBillSearchResult.ihtm");' },</c:if>
	
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';SETU_COMP;')!=-1}">{code:'020422',type:2, name:'完工', spareName:'安装单完工', title:'', url:'javascript:showWin(1024,600,"/business/SetuBillListForComp.ihtm");' },</c:if>
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';SETU_UN_COMP;')!=-1}">{code:'020423',type:2, name:'反完工', spareName:'安装单反完工', title:'', url:'javascript:showWin(1024,600,"/business/SetuBillListForUnComp.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_ACCO;')!=-1 || fn:indexOf(currentUser.privs,';DELI_ACCO;')!=-1 || fn:indexOf(currentUser.privs,';BUSI_CLOS;')!=-1 || fn:indexOf(currentUser.privs,';BUSI_UN_CLOS;')!=-1}">
{code:'0205', name:'结账', title:'' },
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_ACCO;')!=-1}">{code:'020511',type:1, name:'业务对帐', title:'', url:'javascript:showBusAccountDialog();' },</c:if>
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';DELI_ACCO;')!=-1}">{code:'020512',type:2, name:'送货对帐', title:'', url:'javascript:showDelAccountDialog();' },</c:if>
	
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_CLOS;')!=-1}">{code:'020521',type:0, name:'业务单结清', spareName:'业务单结清', title:'', url:'javascript:showWin(1024,600,"/business/BusinessBillListForClose.ihtm");' },</c:if>
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_UN_CLOS;')!=-1}">{code:'020522',type:2, name:'反结清', spareName:'业务单反结清', title:'', url:'javascript:showWin(1024,600,"/business/BusinessBillListForUnClose.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_CANC;')!=-1 || fn:indexOf(currentUser.privs,';DELI_CANC;')!=-1 || fn:indexOf(currentUser.privs,';SETU_CANC;')!=-1}">
{code:'0206', name:'作废', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_CANC;')!=-1}">{code:'020611',type:3, name:'业务单作废', title:'', url:'javascript:showWin(900,600,"/business/BusinessBillListForCancel.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';DELI_CANC;')!=-1}">{code:'020612',type:3, name:'送货单作废', title:'', url:'javascript:showWin(1024,600,"/business/DeliverBillListForCancel.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';SETU_CANC;')!=-1}">{code:'020613',type:3, name:'安装单作废', title:'', url:'javascript:showWin(1024,600,"/business/SetuBillListForCanc.ihtm");' },</c:if>
</c:if>

<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';MAKE;')!=-1}">
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_MAKE;')!=-1 || fn:indexOf(currentUser.privs,';BUSI_TASK;')!=-1}">
{code:'0301', name:'制作', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_MAKE;')!=-1}">{code:'030111',type:1, name:'要制作的业务单', title:'', url:'javascript:showWin(1024,600,"/make/BusinessBillListForMake.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_TASK;')!=-1}">{code:'030112',type:0, name:'生产进度管理', title:'', url:'javascript:showWin(1024,600,"/make/BusinessBillListForTask.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OUTP_NEW;')!=-1 || fn:indexOf(currentUser.privs,';OUTP_SEAR;')!=-1 || fn:indexOf(currentUser.privs,';OUTP_COUN;')!=-1}">
{code:'0302', name:'产量', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OUTP_NEW;')!=-1}">{code:'030211',type:0, name:'产量登记', title:'', url:'javascript:showWin(1024,600,"/make/BusinessBillListForOutput.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OUTP_SEAR;')!=-1}">{code:'030212',type:2, name:'产量一览表', title:'', url:'javascript:showWin(1024,600,"/make/OutputSearchResult.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OUTP_COUN;')!=-1}">{code:'030213',type:2, name:'产量统计表', title:'', url:'javascript:showWin(900,600,"/make/OutputCount.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_COMP;')!=-1 || fn:indexOf(currentUser.privs,';BUSI_UN_COMP;')!=-1}">
{code:'0303', name:'完工', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_COMP;')!=-1}">{code:'030311',type:0, name:'业务单完工', title:'', url:'javascript:showWin(1024,600,"/business/BusinessBillListForComplete.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_UN_COMP;')!=-1}">{code:'030312',type:2, name:'反完工', spareName:'业务单反完工', title:'', url:'javascript:showWin(900,600,"/business/BusinessBillListForUnComplete.ihtm");' },</c:if>
</c:if>
</c:if>

<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP;')!=-1}">
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_COOP;')!=-1 || fn:indexOf(currentUser.privs,';BASE_COOP;')!=-1 || fn:indexOf(currentUser.privs,';COOP_MOVE;')!=-1}">
{code:'0401', name:'外协商', title:'' },
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_COOP;')!=-1}">{code:'040111',type:0, name:'外协商登记', title:'', url:'javascript:showCooperatorDialog();' },</c:if>
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_MOVE;')!=-1}">{code:'040112',type:2, name:'外协商移交', title:'', url:'javascript:showEstMoveDialog("COOPERATOR");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BASE_COOP;')!=-1}">{code:'040191',type:0, name:'全部外协商', title:'', url:'javascript:showWin(1024,600,"/base/EstablishmentList.ihtm?type=COOPERATOR");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_COOP;')!=-1 || fn:indexOf(currentUser.privs,';COOP_BILL_SEAR;')!=-1 || fn:indexOf(currentUser.privs,';COOP_BILL;')!=-1 || fn:indexOf(currentUser.privs,';COOP_ITEM_SEAR;')!=-1 || fn:indexOf(currentUser.privs,';COOP_EDIT_PRIC;')!=-1 || fn:indexOf(currentUser.privs,';COOP_MODI;')!=-1 || fn:indexOf(currentUser.privs,';COOP_PRIC;')!=-1 || fn:indexOf(currentUser.privs,';COOP_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';COOP_UN_EXAM;')!=-1}">
{code:'0402', name:'外协', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_COOP;')!=-1}">{code:'040211',type:1, name:'要外协的业务单', title:'', url:'javascript:showWin(1024,600,"/cooper/BusinessBillListForCooper.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_BILL_SEAR;')!=-1}">{code:'040291',type:0, name:'外协单一览表', title:'', url:'javascript:showWin(1280,600,"/cooper/CooperBillSearchResult.ihtm");' },</c:if>
    
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_BILL;')!=-1}">{code:'040221',type:0, name:'外协开单', title:'', url:'javascript:showCooperBillDialog();' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_ITEM_SEAR;')!=-1}">{code:'040292',type:0, name:'外协明细一览表', title:'', url:'javascript:showWin(1024,600,"/cooper/CooperBillItemSearchResult.ihtm");' },</c:if>
    
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_MODI;')!=-1}">{code:'040231',type:0, name:'外协改单', title:'', url:'javascript:showWin(900,600,"/cooper/CooperBillListForModify.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_EDIT_PRIC;')!=-1}">{code:'040232',type:2, name:'改价格', spareName:'外协单改价格', title:'', url:'javascript:showWin(900,600,"/cooper/CooperBillListForEditPrice.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_PRIC;')!=-1}">{code:'040293',type:1, name:'外协价格', title:'', url:'javascript:showWin(1024,600,"/base/EstPriceList.ihtm?price_type=STA&est_type=COOPERATOR");' },</c:if>
    
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_EXAM;')!=-1}">{code:'040241',type:0, name:'外协单审核', title:'', url:'javascript:showWin(900,600,"/cooper/CooperBillListForExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_UN_EXAM;')!=-1}">{code:'040242',type:2, name:'反审核', spareName:'外协单反审核' , title:'', url:'javascript:showWin(900,600,"/cooper/CooperBillListForUnExamine.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';GATH_BILL;')!=-1 || fn:indexOf(currentUser.privs,';GATH_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';GATH_UN_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';GATH_BILL_SEAR;')!=-1}">
{code:'0403', name:'收货', title:'' },
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';GATH_BILL;')!=-1}">{code:'040311',type:0, name:'外协收货', title:'', url:'javascript:showWin(900,600,"/cooper/CooperBillListForGather.ihtm");' },</c:if>
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';GATH_EXAM;')!=-1}">{code:'040312',type:2, name:'审核', spareName:'收货单审核', title:'', url:'javascript:showWin(900,600,"/cooper/GatherBillListForExamine.ihtm");' },</c:if>
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';GATH_UN_EXAM;')!=-1}">{code:'040313',type:2, name:'反审核', spareName:'收货单反审核', title:'', url:'javascript:showWin(900,600,"/cooper/GatherBillListForUnExamine.ihtm");' },</c:if>
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';GATH_BILL_SEAR;')!=-1}">{code:'040391',type:0, name:'收货单一览表', title:'', url:'javascript:showWin(900,600,"/cooper/GatherBillSearchResult.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_COMP;')!=-1 || fn:indexOf(currentUser.privs,';COOP_UN_COMP;')!=-1}">
{code:'0404', name:'完工', title:'' },
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_COMP;')!=-1}">{code:'040411',type:0, name:'外协完工', title:'', url:'javascript:showWin(1024,600,"/cooper/BusinessBillListForCooComp.ihtm");' },</c:if>
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_UN_COMP;')!=-1}">{code:'040412',type:2, name:'外协反完工', title:'', url:'javascript:showWin(900,600,"/cooper/BusinessBillListForCooUnComp.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';GATH_ACCO;')!=-1 || fn:indexOf(currentUser.privs,';COOP_ACCO;')!=-1}">
{code:'0405', name:'结帐', title:'' },
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_ACCO;')!=-1}">{code:'040511',type:1, name:'外协对账', title:'', url:'javascript:showCooAccountDialog();' },</c:if>
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';GATH_ACCO;')!=-1}">{code:'040512',type:2, name:'收货对账', title:'', url:'javascript:showGatAccountDialog();' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_CANC;')!=-1 || fn:indexOf(currentUser.privs,';GATH_CANC;')!=-1}">
{code:'0406', name:'作废', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_CANC;')!=-1}">{code:'040611',type:3, name:'外协单作废', title:'', url:'javascript:showWin(900,600,"/cooper/CooperBillListForCancel.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';GATH_CANC;')!=-1}">{code:'040612',type:3, name:'收货单作废', title:'', url:'javascript:showWin(900,600,"/cooper/GatherBillListForCancel.ihtm");' },</c:if>
</c:if>
</c:if>

<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC;')!=-1}">
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_PROV;')!=-1 || fn:indexOf(currentUser.privs,';BASE_PROV;')!=-1 || fn:indexOf(currentUser.privs,';PROV_MOVE;')!=-1}">
{code:'0501', name:'供应商', title:'' },
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_PROV;')!=-1}">{code:'050111',type:0, name:'供应商登记', title:'', url:'javascript:showProviderDialog();' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PROV_MOVE;')!=-1}">{code:'050112',type:2, name:'供应商移交', title:'', url:'javascript:showEstMoveDialog("PROVIDER");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BASE_PROV;')!=-1}">{code:'050191',type:0, name:'全部供应商', title:'', url:'javascript:showWin(1024,600,"/base/EstablishmentList.ihtm?type=PROVIDER");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_BUY;')!=-1 || fn:indexOf(currentUser.privs,';PURC_BUY_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';PURC_BUY_UN_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';PURC_BUY_SEAR;')!=-1}">
{code:'0502', name:'采购', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_BUY;')!=-1}">{code:'050211',type:1, name:'采购单', title:'', url:'javascript:showWin(1024,600,"/purchase/PurchaseBillNew.ihtm?type=BUY&alert_type=FORM");'},</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_BUY_EXAM;')!=-1}">{code:'050212',type:2, name:'审核', spareName:'采购单审核', title:'', url:'javascript:showWin(900,600,"/purchase/PurchaseBillListForExamine.ihtm?type=BUY");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_BUY_UN_EXAM;')!=-1}">{code:'050213',type:2, name:'反审核', spareName:'采购单反审核' , title:'', url:'javascript:showWin(900,600,"/purchase/PurchaseBillListForUnExamine.ihtm?type=BUY");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_BUY_SEAR;')!=-1}">{code:'050291',type:0, name:'采购单一览表', title:'', url:'javascript:showWin(1024,600,"/purchase/PurchaseBillSearchResult.ihtm?type=BUY");'},</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_BACK;')!=-1 || fn:indexOf(currentUser.privs,';PURC_BACK_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';PURC_BACK_UN_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';PURC_BACK_SEAR;')!=-1}">
{code:'0503', name:'退货', title:'' },
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_BACK;')!=-1}">{code:'050311',type:0, name:'退货单', title:'', url:'javascript:showWin(1024,600,"/purchase/PurchaseBillNew.ihtm?type=BACK&alert_type=FORM");'},</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_BACK_EXAM;')!=-1}">{code:'050312',type:2, name:'审核', spareName:'退货单审核', title:'', url:'javascript:showWin(900,600,"/purchase/PurchaseBillListForExamine.ihtm?type=BACK");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_BACK_UN_EXAM;')!=-1}">{code:'050313',type:2, name:'反审核', spareName:'退货单反审核' , title:'', url:'javascript:showWin(900,600,"/purchase/PurchaseBillListForUnExamine.ihtm?type=BACK");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_BACK_SEAR;')!=-1}">{code:'050391',type:0, name:'退货单一览表', title:'', url:'javascript:showWin(1024,600,"/purchase/PurchaseBillSearchResult.ihtm?type=BACK");'},</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_ACCO;')!=-1 || fn:indexOf(currentUser.privs,';PURC_DETA;')!=-1 || fn:indexOf(currentUser.privs,';PURC_COUN;')!=-1}">
{code:'0504', name:'对账', title:'' },
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_ACCO;')!=-1}">{code:'050411',type:1, name:'采购对账', title:'', url:'javascript:showPurAccountDialog();' },</c:if>
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_DETA;')!=-1}">{code:'050491',type:0, name:'采购明细表', title:'', url:'javascript:showWin(1024,600,"/purchase/PurchaseDetailSearchResult.ihtm");' },</c:if>
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_COUN;')!=-1}">{code:'050492',type:0, name:'采购汇总表', title:'', url:'javascript:showWin(1024,600,"/purchase/PurchaseCountSearchResult.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_BUY_CANC;')!=-1 || fn:indexOf(currentUser.privs,';PURC_BACK_CANC;')!=-1}">
{code:'0505', name:'作废', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_BUY_CANC;')!=-1}">{code:'050511',type:3, name:'采购单作废', title:'', url:'javascript:showWin(900,600,"/purchase/PurchaseBillListForCancel.ihtm?type=BUY");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_BACK_CANC;')!=-1}">{code:'050512',type:3, name:'退货单作废', title:'', url:'javascript:showWin(900,600,"/purchase/PurchaseBillListForCancel.ihtm?type=BACK");' },</c:if>
</c:if>
</c:if>

<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';STOR;')!=-1}">
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';IN_BILL;')!=-1 || fn:indexOf(currentUser.privs,';IN_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';IN_UN_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';IN_BILL_SEAR;')!=-1 || (enterpriseInfo.purcStoc=='N' && (fn:indexOf(currentUser.privs,';PURC_BUY_STOC;')!=-1 || fn:indexOf(currentUser.privs,';PURC_BUY_UN_STOC;')!=-1))}">
{code:'0601', name:'入库', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';IN_BILL;')!=-1}">{code:'060111',type:0, name:'入库单', title:'', url:'javascript:showWin(1024,600,"/storehouse/InBillNew.ihtm?alert_type=FORM");'},</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';IN_EXAM;')!=-1}">{code:'060112',type:2, name:'审核', spareName:'入库单审核', title:'', url:'javascript:showWin(900,600,"/storehouse/InBillListForExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';IN_UN_EXAM;')!=-1}">{code:'060113',type:2, name:'反审核', spareName:'入库单反审核' , title:'', url:'javascript:showWin(900,600,"/storehouse/InBillListForUnExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';IN_BILL_SEAR;')!=-1}">{code:'060191',type:0, name:'入库单一览表', title:'', url:'javascript:showWin(1024,600,"/storehouse/InBillSearchResult.ihtm");'},</c:if>
    <c:if test="${enterpriseInfo.purcStoc=='N'}">
	    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_BUY_STOC;')!=-1}">{code:'060121',type:2, name:'入库', spareName:'采购单入库', title:'', url:'javascript:showWin(900,600,"/purchase/PurchaseBillListForStoc.ihtm?type=BUY");'},</c:if>
	    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_BUY_UN_STOC;')!=-1}">{code:'060122',type:2, name:'取消入库', spareName:'采购单取消入库' , title:'', url:'javascript:showWin(900,600,"/purchase/PurchaseBillListForUnStoc.ihtm?type=BUY");'},</c:if>
    </c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OUT_BILL;')!=-1 || fn:indexOf(currentUser.privs,';OUT_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';OUT_UN_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';OUT_BILL_SEAR;')!=-1 || (enterpriseInfo.purcStoc=='N' && (fn:indexOf(currentUser.privs,';PURC_BACK_STOC;')!=-1 || fn:indexOf(currentUser.privs,';PURC_BACK_UN_STOC;')!=-1))}">
{code:'0602', name:'出库', title:'' },
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OUT_BILL;')!=-1}">{code:'060211',type:1, name:'出库单', title:'', url:'javascript:showWin(1024,600,"/storehouse/OutBillNew.ihtm?alert_type=FORM");'},</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OUT_EXAM;')!=-1}">{code:'060212',type:2, name:'审核', spareName:'出库单审核', title:'', url:'javascript:showWin(900,600,"/storehouse/OutBillListForExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OUT_UN_EXAM;')!=-1}">{code:'060213',type:2, name:'反审核', spareName:'出库单反审核' , title:'', url:'javascript:showWin(900,600,"/storehouse/OutBillListForUnExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OUT_BILL_SEAR;')!=-1}">{code:'060291',type:0, name:'出库单一览表', title:'', url:'javascript:showWin(1024,600,"/storehouse/OutBillSearchResult.ihtm");'},</c:if>
    <c:if test="${enterpriseInfo.purcStoc=='N'}">
	    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_BACK_STOC;')!=-1}">{code:'060221',type:2, name:'出库', spareName:'退货单出库', title:'', url:'javascript:showWin(900,600,"/purchase/PurchaseBillListForStoc.ihtm?type=BACK");' },</c:if>
	    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_BACK_UN_STOC;')!=-1}">{code:'060222',type:2, name:'取消出库', spareName:'退货单取消出库' , title:'', url:'javascript:showWin(900,600,"/purchase/PurchaseBillListForUnStoc.ihtm?type=BACK");' },</c:if>
    </c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';ALLO_BILL;')!=-1 || fn:indexOf(currentUser.privs,';ALLO_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';ALLO_UN_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';ALLO_BILL_SEAR;')!=-1}">
{code:'0603', name:'调拨', title:'' },
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';ALLO_BILL;')!=-1}">{code:'060311',type:0, name:'调拨单', title:'', url:'javascript:showWin(1024,600,"/storehouse/AlloBillNew.ihtm?alert_type=FORM");'},</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';ALLO_EXAM;')!=-1}">{code:'060312',type:2, name:'审核', spareName:'调拨单审核', title:'', url:'javascript:showWin(900,600,"/storehouse/AlloBillListForExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';ALLO_UN_EXAM;')!=-1}">{code:'060313',type:2, name:'反审核', spareName:'调拨单反审核' , title:'', url:'javascript:showWin(900,600,"/storehouse/AlloBillListForUnExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';ALLO_BILL_SEAR;')!=-1}">{code:'060391',type:0, name:'调拨单一览表', title:'', url:'javascript:showWin(900,600,"/storehouse/AlloBillSearchResult.ihtm");'},</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';STOC_SEAR;')!=-1 || fn:indexOf(currentUser.privs,';STOC_DETA;')!=-1 || fn:indexOf(currentUser.privs,';STOC_COUN;')!=-1}">
{code:'0604', name:'库存', title:''},
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';STOC_SEAR;')!=-1}">{code:'060411',type:1, name:'库存查询', title:'', url:'javascript:showWin(900,600,"/storehouse/StockSearch.ihtm");' },</c:if>
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';STOC_DETA;')!=-1}">{code:'060412',type:0, name:'收发存明细表', title:'', url:'javascript:showWin(1024,600,"/storehouse/InOutList.ihtm");' },</c:if>
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';STOC_COUN;')!=-1}">{code:'060491',type:0, name:'收发存汇总表', title:'', url:'javascript:showWin(1024,600,"/storehouse/InOutCount.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';IN_CANC;')!=-1 || fn:indexOf(currentUser.privs,';OUT_CANC;')!=-1}">
{code:'0605', name:'作废', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';IN_CANC;')!=-1}">{code:'060511',type:3, name:'入库单作废', title:'', url:'javascript:showWin(900,600,"/storehouse/InBillListForCancel.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OUT_CANC;')!=-1}">{code:'060512',type:3, name:'出库单作废', title:'', url:'javascript:showWin(900,600,"/storehouse/OutBillListForCancel.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';ALLO_CANC;')!=-1}">{code:'060513',type:3, name:'调拨单作废', title:'', url:'javascript:showWin(900,600,"/storehouse/AlloBillListForCancel.ihtm");' },</c:if>
</c:if>
</c:if>

<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';FINA;')!=-1}">
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';RECE_BILL;')!=-1 || fn:indexOf(currentUser.privs,';RECE_EXAM;')!=-1  || fn:indexOf(currentUser.privs,';RECE_UN_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';RECE_BILL_SEAR;')!=-1 || fn:indexOf(currentUser.privs,';INCO_BILL;')!=-1 || fn:indexOf(currentUser.privs,';INCO_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';INCO_UN_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';INCO_BILL_SEAR;')!=-1}">
{code:'0701', name:'收入', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';RECE_BILL;')!=-1}">{code:'070111',type:1, name:'收款单', title:'', url:'javascript:showWin(1024,600,"/finance/ReceiveBillNew.ihtm?alert_type=SHOW");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';RECE_EXAM;')!=-1}">{code:'070112',type:2, name:'审核', spareName:'收款单审核', title:'', url:'javascript:showWin(900,600,"/finance/ReceiveBillListForExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';RECE_UN_EXAM;')!=-1}">{code:'070113',type:2, name:'反审核', spareName:'收款单反审核', title:'', url:'javascript:showWin(900,600,"/finance/ReceiveBillListForUnExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';INCO_BILL;')!=-1}">{code:'070121',type:0, name:'其他收入单', title:'', url:'javascript:showWin(1024,420,"/finance/IncomeBillNew.ihtm?alert_type=SHOW");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';INCO_EXAM;')!=-1}">{code:'070122',type:2, name:'审核', spareName:'其他收入审核', title:'', url:'javascript:showWin(900,600,"/finance/IncomeBillListForExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';INCO_UN_EXAM;')!=-1}">{code:'070123',type:2, name:'反审核', spareName:'其他收入反审核', title:'', url:'javascript:showWin(900,600,"/finance/IncomeBillListForUnExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';RECE_BILL_SEAR;')!=-1}">{code:'070191',type:0, name:'收款单一览表', title:'', url:'javascript:showWin(1024,600,"/finance/ReceiveBillSearchResult.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';INCO_BILL_SEAR;')!=-1}">{code:'070192',type:0, name:'其他收入一览表', title:'', url:'javascript:showWin(1024,600,"/finance/IncomeBillSearchResult.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PAY_BILL;')!=-1 || fn:indexOf(currentUser.privs,';PAY_EXAM;')!=-1  || fn:indexOf(currentUser.privs,';PAY_UN_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';PAY_BILL_SEAR;')!=-1 || fn:indexOf(currentUser.privs,';FEE_BILL;')!=-1 || fn:indexOf(currentUser.privs,';FEE_EXAM;')!=-1  || fn:indexOf(currentUser.privs,';FEE_UN_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';FEE_BILL_SEAR;')!=-1 || fn:indexOf(currentUser.privs,';FEE_ITEM_SEAR;')!=-1}">
{code:'0702', name:'支出', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PAY_BILL;')!=-1}">{code:'070211',type:1, name:'付款单', title:'', url:'javascript:showPayBillDialog();' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PAY_EXAM;')!=-1}">{code:'070212',type:2, name:'审核', spareName:'付款单审核', title:'', url:'javascript:showWin(900,600,"/finance/PayBillListForExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PAY_UN_EXAM;')!=-1}">{code:'070213',type:2, name:'反审核', spareName:'付款单反审核', title:'', url:'javascript:showWin(900,600,"/finance/PayBillListForUnExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';FEE_BILL;')!=-1}">{code:'070221',type:0, name:'费用单', title:'', url:'javascript:showWin(1024,420,"/finance/FeeBillNew.ihtm?alert_type=SHOW");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';FEE_EXAM;')!=-1}">{code:'070222',type:2, name:'审核', spareName:'费用单审核', title:'', url:'javascript:showWin(900,600,"/finance/FeeBillListForExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';FEE_UN_EXAM;')!=-1}">{code:'070223',type:2, name:'反审核', spareName:'费用单反审核', title:'', url:'javascript:showWin(900,600,"/finance/FeeBillListForUnExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PAY_BILL_SEAR;')!=-1}">{code:'070291',type:0, name:'付款单一览表', title:'', url:'javascript:showWin(1024,600,"/finance/PayBillSearchResult.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';FEE_BILL_SEAR;')!=-1}">{code:'070292',type:0, name:'费用单一览表', title:'', url:'javascript:showWin(1024,600,"/finance/FeeBillSearchResult.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';FEE_ITEM_SEAR;')!=-1}">{code:'070293',type:0, name:'费用明细一览表', title:'', url:'javascript:showWin(1024,600,"/finance/FeeBillItemSearchResult.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';ADJU_BILL;')!=-1 || fn:indexOf(currentUser.privs,';ADJU_EXAM;')!=-1  || fn:indexOf(currentUser.privs,';ADJU_UN_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';ADJU_BILL_SEAR;')!=-1 || fn:indexOf(currentUser.privs,';TRAN_BILL;')!=-1 || fn:indexOf(currentUser.privs,';TRAN_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';TRAN_UN_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';TRAN_BILL_SEAR;')!=-1}">
{code:'0703', name:'调转取', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';ADJU_BILL;')!=-1}">{code:'070311',type:0, name:'调账单', title:'', url:'javascript:showAdjustBillDialog();' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';ADJU_EXAM;')!=-1}">{code:'070312',type:2, name:'审核', spareName:'调账单审核', title:'', url:'javascript:showWin(900,600,"/finance/AdjustBillListForExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';ADJU_UN_EXAM;')!=-1}">{code:'070313',type:2, name:'反审核', spareName:'调账单反审核', title:'', url:'javascript:showWin(900,600,"/finance/AdjustBillListForUnExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';TRAN_BILL;')!=-1}">{code:'070321',type:0, name:'转账取款单', title:'', url:'javascript:showWin(1024,420,"/finance/TransferBillNew.ihtm?alert_type=SHOW");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';TRAN_EXAM;')!=-1}">{code:'070322',type:2, name:'审核', spareName:'转账取款审核', title:'', url:'javascript:showWin(900,600,"/finance/TransferBillListForExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';TRAN_UN_EXAM;')!=-1}">{code:'070323',type:2, name:'反审核', spareName:'转账取款反审核', title:'', url:'javascript:showWin(900,600,"/finance/TransferBillListForUnExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';ADJU_BILL_SEAR;')!=-1}">{code:'070391',type:0, name:'调账单一览表', title:'', url:'javascript:showWin(900,600,"/finance/AdjustBillSearchResult.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';TRAN_BILL_SEAR;')!=-1}">{code:'070392',type:0, name:'转账取款一览表', title:'', url:'javascript:showWin(1024,600,"/finance/TransferBillSearchResult.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';LOAN_IN;')!=-1 || fn:indexOf(currentUser.privs,';LOAN_IN_EXAM;')!=-1  || fn:indexOf(currentUser.privs,';LOAN_IN_UN_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';LOAN_IN_SEAR;')!=-1 || fn:indexOf(currentUser.privs,';LOAN_OUT;')!=-1 || fn:indexOf(currentUser.privs,';LOAN_OUT_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';LOAN_OUT_UN_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';LOAN_OUT_SEAR;')!=-1}">
{code:'0704', name:'借入出', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';LOAN_IN;')!=-1}">{code:'070411',type:0, name:'资金借入单', title:'', url:'javascript:showWin(1024,420,"/finance/LoanBillNew.ihtm?alert_type=SHOW&bill_type=IN");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';LOAN_IN_EXAM;')!=-1}">{code:'070412',type:2, name:'审核', spareName:'资金借入审核', title:'', url:'javascript:showWin(900,600,"/finance/LoanBillListForExamine.ihtm?type=IN");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';LOAN_IN_UN_EXAM;')!=-1}">{code:'070413',type:2, name:'反审核', spareName:'资金借入反审核', title:'', url:'javascript:showWin(900,600,"/finance/LoanBillListForUnExamine.ihtm?type=IN");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';LOAN_OUT;')!=-1}">{code:'070421',type:0, name:'资金借出单', title:'', url:'javascript:showWin(1024,420,"/finance/LoanBillNew.ihtm?alert_type=SHOW&bill_type=OUT");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';LOAN_OUT_EXAM;')!=-1}">{code:'070422',type:2, name:'审核', spareName:'资金借出审核', title:'', url:'javascript:showWin(900,600,"/finance/LoanBillListForExamine.ihtm?type=OUT");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';LOAN_OUT_UN_EXAM;')!=-1}">{code:'070423',type:2, name:'反审核', spareName:'资金借出反审核', title:'', url:'javascript:showWin(900,600,"/finance/LoanBillListForUnExamine.ihtm?type=OUT");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';LOAN_IN_SEAR;')!=-1}">{code:'070491',type:0, name:'资金借入一览表', title:'', url:'javascript:showWin(1024,600,"/finance/LoanBillSearchResult.ihtm?type=IN");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';LOAN_OUT_SEAR;')!=-1}">{code:'070492',type:0, name:'资金借出一览表', title:'', url:'javascript:showWin(1024,600,"/finance/LoanBillSearchResult.ihtm?type=OUT");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';RECE_CANC;')!=-1 || fn:indexOf(currentUser.privs,';INCO_CANC;')!=-1 || fn:indexOf(currentUser.privs,';PAY_CANC;')!=-1 || fn:indexOf(currentUser.privs,';FEE_CANC;')!=-1 || fn:indexOf(currentUser.privs,';ADJU_CANC;')!=-1 || fn:indexOf(currentUser.privs,';TRAN_CANC;')!=-1 || fn:indexOf(currentUser.privs,';LOAN_IN_CANC;')!=-1 || fn:indexOf(currentUser.privs,';LOAN_OUT_CANC;')!=-1}">
{code:'0705', name:'作废', title:'', isColMerge:true },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';RECE_CANC;')!=-1}">{code:'070511',type:3, name:'收款单作废',     title:'', url:'javascript:showWin(900,600,"/finance/ReceiveBillListForCancel.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';INCO_CANC;')!=-1}">{code:'070512',type:3, name:'其他收入单作废', title:'', url:'javascript:showWin(900,600,"/finance/IncomeBillListForCancel.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PAY_CANC;')!=-1}">{code:'070513',type:3, name:'付款单作废',     title:'', url:'javascript:showWin(900,600,"/finance/PayBillListForCancel.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';FEE_CANC;')!=-1}">{code:'070514',type:3, name:'费用单作废',     title:'', url:'javascript:showWin(900,600,"/finance/FeeBillListForCancel.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';ADJU_CANC;')!=-1}">{code:'070521',type:3, name:'调账单作废',     title:'', url:'javascript:showWin(900,600,"/finance/AdjustBillListForCancel.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';TRAN_CANC;')!=-1}">{code:'070522',type:3, name:'转账取款单作废', title:'', url:'javascript:showWin(900,600,"/finance/TransferBillListForCancel.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';LOAN_IN_CANC;')!=-1}">{code:'070523',type:3, name:'资金借入单作废', title:'', url:'javascript:showWin(900,600,"/finance/LoanBillListForCancel.ihtm?type=IN");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';LOAN_OUT_CANC;')!=-1}">{code:'070524',type:3, name:'资金借出单作废', title:'', url:'javascript:showWin(900,600,"/finance/LoanBillListForCancel.ihtm?type=OUT");' },</c:if>
</c:if>
</c:if>

<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OUTP;')!=-1}">
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OV_BUSI;')!=-1 || fn:indexOf(currentUser.privs,';OV_FOLL;')!=-1 || fn:indexOf(currentUser.privs,';OV_COUN;')!=-1 || fn:indexOf(currentUser.privs,';OV_DESI;')!=-1 || fn:indexOf(currentUser.privs,';OV_MAKE;')!=-1 || fn:indexOf(currentUser.privs,';OV_RECE;')!=-1 || fn:indexOf(currentUser.privs,';OV_SALE;')!=-1 || fn:indexOf(currentUser.privs,';OV_SETU;')!=-1}">
{code:'0801', name:'岗位', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OV_BUSI;')!=-1}">{code:'080111',type:0, name:'接单产值明细', title:'', url:'javascript:showWin(900,600,"/make/OvBusinessList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OV_FOLL;')!=-1}">{code:'080112',type:0, name:'跟单产值明细', title:'', url:'javascript:showWin(900,600,"/make/OvFollowList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OV_COUN;')!=-1}">{code:'080191',type:1, name:'产值统计表', title:'', url:'javascript:showWin(1024,600,"/make/OvCount.ihtm");' },</c:if>
    
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OV_DESI;')!=-1}">{code:'080121',type:0, name:'设计产值明细', title:'', url:'javascript:showWin(900,600,"/make/OvDesignList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OV_MAKE;')!=-1}">{code:'080122',type:0, name:'制作产值明细', title:'', url:'javascript:showWin(1024,600,"/make/OvMakeList.ihtm");' },</c:if>
    
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OV_RECE;')!=-1}">{code:'080131',type:0, name:'收欠费产值明细', title:'', url:'javascript:showWin(900,600,"/make/OvReceiveList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OV_SETU;')!=-1}">{code:'080132',type:0, name:'安装产值明细', title:'', url:'javascript:showWin(1024,600,"/make/OvSetuList.ihtm");' },</c:if>
    
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OV_SALE;')!=-1}">{code:'080141',type:0, name:'营销产值明细', title:'', url:'javascript:showWin(900,600,"/make/OvSaleList.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OV_BILL;')!=-1 || fn:indexOf(currentUser.privs,';OV_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';OV_UN_EXAM;')!=-1 || fn:indexOf(currentUser.privs,';OV_BILL_SEAR;')!=-1}">
{code:'0802', name:'产值', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OV_BILL;')!=-1}">{code:'080211',type:1, name:'产值单', title:'', url:'javascript:showWin(1024,420,"/make/OvBillNew.ihtm?alert_type=SHOW");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OV_EXAM;')!=-1}">{code:'080212',type:2, name:'审核', title:'',spareName:'产值单审核', url:'javascript:showWin(900,600,"/make/OvBillListForExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OV_UN_EXAM;')!=-1}">{code:'080213',type:2, name:'反审核', title:'',spareName:'产值单反审核', url:'javascript:showWin(900,600,"/make/OvBillListForUnExamine.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OV_BILL_SEAR;')!=-1}">{code:'080291',type:0, name:'产值单一览表', title:'', url:'javascript:showWin(900,600,"/make/OvBillSearchResult.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OV_PERC;')!=-1 || fn:indexOf(currentUser.privs,';OV_PERC_SPEC;')!=-1}">
{code:'0803', name:'规则', title:'', isColMerge:true},
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OV_PERC;')!=-1}">{code:'080311',type:0, name:'业务单产值分配规则', title:'', url:'javascript:showWin(500,380,"/make/SetOvPercentForm.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OV_PERC_SPEC;')!=-1}">{code:'080312',type:0, name:'业务单特殊产值规则', title:'', url:'javascript:showWin(1024,600,"/make/BusinessBillListForOv.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OV_CANC;')!=-1}">
{code:'0804', name:'作废', title:'', isColMerge:true },
    {code:'080411',type:3, name:'产值单作废', title:'', url:'javascript:showWin(900,600,"/make/OvBillListForCancel.ihtm");' },
</c:if>
</c:if>

<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';REPO;')!=-1}">
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_DATE_COUN;')!=-1 || fn:indexOf(currentUser.privs,';MT_BUSI_DATE;')!=-1 || fn:indexOf(currentUser.privs,';MT_BUSI_COUN;')!=-1 || fn:indexOf(currentUser.privs,';STAF_EXPL;')!=-1 || fn:indexOf(currentUser.privs,';CLIE_BUSI_COUN;')!=-1}">
{code:'0901', name:'营业', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_DATE_COUN;')!=-1}">{code:'090111',type:1, name:'销售日报表', title:'', url:'javascript:showWin(900,600,"/finance/BusinessDateCount.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';MT_BUSI_DATE;')!=-1}">{code:'090112',type:0, name:'项目营业日报表', title:'', url:'javascript:showWin(900,600,"/business/MtBusinessDate.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';MT_BUSI_COUN;')!=-1}">{code:'090191',type:0, name:'项目营业汇总表', title:'', url:'javascript:showWin(900,600,"/business/MtBusinessCount.ihtm");' },</c:if>
    
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';STAF_EXPL;')!=-1}">{code:'090121',type:0, name:'员工业绩排行表', title:'', url:'javascript:showWin(1024,600,"/finance/StafferExploitList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';CLIE_BUSI_COUN;')!=-1}">{code:'090192',type:1, name:'客户营业汇总表', title:'', url:'javascript:showWin(1024,600,"/business/EstBusinessCount.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_PROF;')!=-1 || fn:indexOf(currentUser.privs,';PROF_SEAR;')!=-1 || fn:indexOf(currentUser.privs,';PROF_COUN;')!=-1}">
{code:'0902', name:'利润', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_PROF;')!=-1}">{code:'090211',type:0, name:'业务单成本表', title:'', url:'javascript:showWin(1024,600,"/business/BusinessProfitSearchResult.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PROF_SEAR;')!=-1}">{code:'090212',type:0, name:'利润表', title:'', url:'javascript:showWin(900,600,"/finance/ProfitSearch.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PROF_COUN;')!=-1}">{code:'090291',type:0, name:'利润汇总表', title:'', url:'javascript:showWin(900,600,"/finance/ProfitCount.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';CLIE_UN_RECE;')!=-1 || fn:indexOf(currentUser.privs,';BUSI_UN_RECE;')!=-1 || fn:indexOf(currentUser.privs,';UN_RECE_COUN;')!=-1 || fn:indexOf(currentUser.privs,';CLIE_UN_RECE_AGE;')!=-1}">
{code:'0903', name:'应收', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';CLIE_UN_RECE;')!=-1}">{code:'090311',type:1, name:'客户应收款', title:'', url:'javascript:showWin(1024,600,"/business/ReceivableList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_UN_RECE;')!=-1}">{code:'090312',type:0, name:'业务单应收款', title:'', url:'javascript:showWin(1024,600,"/business/BusinessBillListForReceive.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';UN_RECE_COUN;')!=-1}">{code:'090391',type:0, name:'应收汇总表', title:'', url:'javascript:showWin(900,600,"/business/ReceivableCount.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';CLIE_UN_RECE_AGE;')!=-1}">{code:'090321',type:0, name:'应收款账龄分布表', title:'', url:'javascript:showWin(1024,600,"/business/ReceivableAgeList.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_UN_PAY;')!=-1 || fn:indexOf(currentUser.privs,';UN_PAY_SEAR;')!=-1 || fn:indexOf(currentUser.privs,';UN_PAY_COUN;')!=-1 || fn:indexOf(currentUser.privs,';COOP_UN_PAY;')!=-1}">
{code:'0904', name:'应付', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_UN_PAY;')!=-1}">{code:'090411',type:0, name:'采购单应付款', title:'', url:'javascript:showWin(1024,600,"/purchase/PurchaseBillListForPay.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';UN_PAY_SEAR;')!=-1}">{code:'090412',type:0, name:'应付账款', title:'', url:'javascript:showWin(900,600,"/finance/PayableList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';UN_PAY_COUN;')!=-1}">{code:'090491',type:0, name:'应付汇总表', title:'', url:'javascript:showWin(900,600,"/finance/PayableCount.ihtm");' },</c:if>
    
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_UN_PAY;')!=-1}">{code:'090421',type:0, name:'外协单应付款', title:'', url:'javascript:showWin(1024,600,"/cooper/CooperBillListForPay.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_BACK_SEAR;')!=-1 || fn:indexOf(currentUser.privs,';RECE_ITEM_SEAR;')!=-1 || fn:indexOf(currentUser.privs,';CLIE_BACK_COUN;')!=-1}">
{code:'0905', name:'回款', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_BACK_SEAR;')!=-1}">{code:'090511',type:1, name:'销售回款一览表', title:'', url:'javascript:showWin(1024,600,"/finance/BackCostList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';RECE_ITEM_SEAR;')!=-1}">{code:'090512',type:0, name:'结欠回款明细表', title:'', url:'javascript:showWin(1024,600,"/finance/ReceiveBillItemSearchResult.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';CLIE_BACK_COUN;')!=-1}">{code:'090591',type:0, name:'客户回款汇总表', title:'', url:'javascript:showWin(1024,600,"/finance/EstBackCount.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_PAY_SEAR;')!=-1 || fn:indexOf(currentUser.privs,';COOP_PAY_SEAR;')!=-1}">
{code:'0906', name:'付款', title:'', isColMerge:true },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PURC_PAY_SEAR;')!=-1}">{code:'090611',type:0, name:'采购付款一览表', title:'', url:'javascript:showWin(1024,600,"/finance/PurPayCostList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_PAY_SEAR;')!=-1}">{code:'090612',type:0, name:'外协付款一览表', title:'', url:'javascript:showWin(1024,600,"/finance/CooPayCostList.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';LOAN_IN_COUN;')!=-1 || fn:indexOf(currentUser.privs,';LOAN_OUT_COUN;')!=-1 || fn:indexOf(currentUser.privs,';BANK_COST;')!=-1}">
{code:'0907', name:'资金', title:'' },
	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BANK_COST;')!=-1}">{code:'090711',type:1, name:'现金银行', title:'', url:'javascript:showWin(1024,600,"/finance/AccountBalanceList.ihtm?is_tmp=Y");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';LOAN_IN_COUN;')!=-1}">{code:'090712',type:0, name:'资金借入统计', title:'', url:'javascript:showWin(700,600,"/finance/LoanBillCount.ihtm?type=IN");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';LOAN_OUT_COUN;')!=-1}">{code:'090791',type:0, name:'资金借出统计', title:'', url:'javascript:showWin(700,600,"/finance/LoanBillCount.ihtm?type=OUT");' },</c:if>
</c:if>
</c:if>
